package com.tianji.api.client.remark;

import com.tianji.api.client.remark.fallback.RemarkClientFallback;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Set;

/**
 * @description:
 * @author: ajie
 * @date: 2024/5/11 22:55:35
 * @version: 1.0
 */
@FeignClient(value = "remark-service",fallbackFactory = RemarkClientFallback.class)//被调用方的服务名
public interface RemarkClient {

    @GetMapping("likes/list")
    public Set<Long> getLikesStatusByBizIds(@RequestParam("bizIds") List<Long> bizIds);
}
